/**
 * 
 */
package com.testvideo.util;

import java.io.Reader;
import java.io.Writer;

/**
 * @author Administrator
 *
 */
public class CloseUtil {
	
	public static void close(Reader reader){
		if(reader == null) return ;
		
		try {
			reader.close() ;
		} catch (Exception e) {			
		}
	}
	
	public static void close(Writer w){
		if(w == null) return ;
		
		try {
			w.close() ;
		} catch (Exception e) {			
		}
	}

}
